<?php session_start();?>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Яката галерия :D</title>
        <link rel="stylesheet" type="text/css" href="css/style.css">
        
    </head>
    <body>
<header><h2>Галерия</h2><br/><br/></header>
<section>
    <div class="wrapper">
         <span class="erorr"><?php if(!empty($_SESSION['erorr'])){ echo $_SESSION['erorr']; unset($_SESSION['erorr']); }?></span>
    <div id="regitration">
        <h3 class="regTitle">Регистриране</h3>
        <form method="post" action="registrationUser.php">
         <p>Въведете потребителско име</p>
         <input type="text" name="username"/><br/>
         <p>Въведете парола</p>
         <input type="password" name="password"/><br/>
         <p>повторете паролата</p>
         <input type="password" name="re_password"/><br/>
         <p>Въведете валиден имейл адрес</p>
         <input type="email" name="email"/><br/>
         <input type="checkbox" name="conditions" value="1"  >Съгласен съм с условията<br>
         <input class="buttons" type="submit" name="submit" value="Регистриране">
        </form>
    </div>
        </div>
</section>
<?php require_once './templates/footer.php';?>

